package sing.core.ext.util

import com.alibaba.fastjson.JSONObject
import okhttp3.MediaType
import okhttp3.RequestBody


fun JSONObject.toRequestBody(): RequestBody {
    return RequestBody.create(MediaType.parse("application/json; charset=utf-8"),this.toJSONString())
}
